package com.vueperson.vueperson.t1.CreationalPattern.FactoryMethodPattern.Logger;

public abstract class AbLoggerFactory {
    //在工厂类中直接调用日志记录器类的业务方法writeLog()
    public void writeLog(){
        Logger logger=this.creatLogger();
        logger.writeLog();
    }

    public abstract Logger creatLogger();
}
